//
//  LQBaseObject.h
//  LQBaseKit
//
//  Created by 戴志朋 on 15/10/26.
//  Copyright © 2015年 hzdracom. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface LQBaseObject : NSObject<NSCopying, NSCoding>

/**
 *  把字典解析成 model
 *
 *  @param data 字典数据
 *
 *  @return model 实例或者实例的数据
 */
+ (id)parserDic:(NSDictionary *)data;

- (id)parserFromFieldArray:(NSArray *)array;
- (id)parserFromDictionary:(NSDictionary *)dataDic;

/**
 *  @author Jeffrey, 15-03-19 14:03:42
 *
 *  字典和属性一对一关系
 *
 *  @return
 */
- (NSDictionary *)dictionaryKeysToPropertyKeys;

@end
